all_source_recurse(CC_SOURCES)

add_library(rdhttp
    STATIC 
    ${CC_SOURCES}
)

target_link_libraries(rdhttp
    boost
    openssl
)

target_include_directories(rdhttp
    PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}/
    ${CMAKE_CURRENT_SOURCE_DIR}/tools
    ${CMAKE_CURRENT_SOURCE_DIR}/form
    ${CMAKE_CURRENT_SOURCE_DIR}/feilds
    ${CMAKE_CURRENT_SOURCE_DIR}/request
)